package com.itshare.video.pojo.po;

import java.io.Serializable;
import java.util.Date;

public class Video implements Serializable {
    private Long videoId;

    private String chapterTitle;

    private String videoUrl;

    private Integer revision;

    private String createdBy;

    private Date createdTime;

    private String updatedBy;

    private Date updatedTime;

    private String coverImageUrl;

    private Integer couseId;

    private String videoMessage;

    private Integer deleteStatus;

    private Integer userId;

    private Integer categoryId;

    private String tags;

    private Integer lookCount;

    private Integer commentCount;

    private Integer likeCount;

    private Integer collectCount;

    private Integer chapterId;

    private Integer permitStatus;

    private static final long serialVersionUID = 1L;

    public Long getVideoId() {
        return videoId;
    }

    public Video withVideoId(Long videoId) {
        this.setVideoId(videoId);
        return this;
    }

    public void setVideoId(Long videoId) {
        this.videoId = videoId;
    }

    public String getChapterTitle() {
        return chapterTitle;
    }

    public Video withChapterTitle(String chapterTitle) {
        this.setChapterTitle(chapterTitle);
        return this;
    }

    public void setChapterTitle(String chapterTitle) {
        this.chapterTitle = chapterTitle == null ? null : chapterTitle.trim();
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public Video withVideoUrl(String videoUrl) {
        this.setVideoUrl(videoUrl);
        return this;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl == null ? null : videoUrl.trim();
    }

    public Integer getRevision() {
        return revision;
    }

    public Video withRevision(Integer revision) {
        this.setRevision(revision);
        return this;
    }

    public void setRevision(Integer revision) {
        this.revision = revision;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public Video withCreatedBy(String createdBy) {
        this.setCreatedBy(createdBy);
        return this;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy == null ? null : createdBy.trim();
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public Video withCreatedTime(Date createdTime) {
        this.setCreatedTime(createdTime);
        return this;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public Video withUpdatedBy(String updatedBy) {
        this.setUpdatedBy(updatedBy);
        return this;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy == null ? null : updatedBy.trim();
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public Video withUpdatedTime(Date updatedTime) {
        this.setUpdatedTime(updatedTime);
        return this;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getCoverImageUrl() {
        return coverImageUrl;
    }

    public Video withCoverImageUrl(String coverImageUrl) {
        this.setCoverImageUrl(coverImageUrl);
        return this;
    }

    public void setCoverImageUrl(String coverImageUrl) {
        this.coverImageUrl = coverImageUrl == null ? null : coverImageUrl.trim();
    }

    public Integer getCouseId() {
        return couseId;
    }

    public Video withCouseId(Integer couseId) {
        this.setCouseId(couseId);
        return this;
    }

    public void setCouseId(Integer couseId) {
        this.couseId = couseId;
    }

    public String getVideoMessage() {
        return videoMessage;
    }

    public Video withVideoMessage(String videoMessage) {
        this.setVideoMessage(videoMessage);
        return this;
    }

    public void setVideoMessage(String videoMessage) {
        this.videoMessage = videoMessage == null ? null : videoMessage.trim();
    }

    public Integer getDeleteStatus() {
        return deleteStatus;
    }

    public Video withDeleteStatus(Integer deleteStatus) {
        this.setDeleteStatus(deleteStatus);
        return this;
    }

    public void setDeleteStatus(Integer deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public Integer getUserId() {
        return userId;
    }

    public Video withUserId(Integer userId) {
        this.setUserId(userId);
        return this;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public Video withCategoryId(Integer categoryId) {
        this.setCategoryId(categoryId);
        return this;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getTags() {
        return tags;
    }

    public Video withTags(String tags) {
        this.setTags(tags);
        return this;
    }

    public void setTags(String tags) {
        this.tags = tags == null ? null : tags.trim();
    }

    public Integer getLookCount() {
        return lookCount;
    }

    public Video withLookCount(Integer lookCount) {
        this.setLookCount(lookCount);
        return this;
    }

    public void setLookCount(Integer lookCount) {
        this.lookCount = lookCount;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public Video withCommentCount(Integer commentCount) {
        this.setCommentCount(commentCount);
        return this;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public Video withLikeCount(Integer likeCount) {
        this.setLikeCount(likeCount);
        return this;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public Integer getCollectCount() {
        return collectCount;
    }

    public Video withCollectCount(Integer collectCount) {
        this.setCollectCount(collectCount);
        return this;
    }

    public void setCollectCount(Integer collectCount) {
        this.collectCount = collectCount;
    }

    public Integer getChapterId() {
        return chapterId;
    }

    public Video withChapterId(Integer chapterId) {
        this.setChapterId(chapterId);
        return this;
    }

    public void setChapterId(Integer chapterId) {
        this.chapterId = chapterId;
    }

    public Integer getPermitStatus() {
        return permitStatus;
    }

    public Video withPermitStatus(Integer permitStatus) {
        this.setPermitStatus(permitStatus);
        return this;
    }

    public void setPermitStatus(Integer permitStatus) {
        this.permitStatus = permitStatus;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", videoId=").append(videoId);
        sb.append(", chapterTitle=").append(chapterTitle);
        sb.append(", videoUrl=").append(videoUrl);
        sb.append(", revision=").append(revision);
        sb.append(", createdBy=").append(createdBy);
        sb.append(", createdTime=").append(createdTime);
        sb.append(", updatedBy=").append(updatedBy);
        sb.append(", updatedTime=").append(updatedTime);
        sb.append(", coverImageUrl=").append(coverImageUrl);
        sb.append(", couseId=").append(couseId);
        sb.append(", videoMessage=").append(videoMessage);
        sb.append(", deleteStatus=").append(deleteStatus);
        sb.append(", userId=").append(userId);
        sb.append(", categoryId=").append(categoryId);
        sb.append(", tags=").append(tags);
        sb.append(", lookCount=").append(lookCount);
        sb.append(", commentCount=").append(commentCount);
        sb.append(", likeCount=").append(likeCount);
        sb.append(", collectCount=").append(collectCount);
        sb.append(", chapterId=").append(chapterId);
        sb.append(", permitStatus=").append(permitStatus);
        sb.append("]");
        return sb.toString();
    }
}